package com.neusoft.supermarket.service;

import com.neusoft.supermarket.DAO.UserInfoDAO;
import com.neusoft.supermarket.DAO.impl.UserInfoDAOImpl;
import com.neusoft.supermarket.entity.UserInfo_Entity;

public class UserInfo_Service {

    private UserInfoDAO dao = new UserInfoDAOImpl();

    public UserInfo_Entity doLogin(String uname,String pwd){
        return dao.loginByUser(uname,pwd);
    }
}
